package springboot.demo.controller;

import org.springframework.context.annotation.Bean;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.servlet.LocaleResolver;
import springboot.demo.config.MyLocalResovel;

import java.util.Locale;

@Controller
public class indexController {
    @RequestMapping("index.html")
    public  String index(){
        return "index";
    }

}
